|
|
|
|
Collapse Method, ItemClass Class |
Collapses the item so its dependents are hidden.
Syntax ItemClass Class (Softelvdm.SftTreeNET)
VB |
Public Sub Collapse( ByVal Style As CollapseStyleEnum ) |
C# |
public void Collapse( CollapseStyleEnum Style ); |
C++ |
public: void Collapse( CollapseStyleEnum Style ); |
Style
Defines how the item and its dependents are collapsed.
Value |
Description |
|
0 | Collapse this item and all its dependents. | |
1 | Collapse this item and all its dependents, saving the current state so it can later be restored using Expand(ExpandStyleEnum.RestoreLast). |
Comments
The Collapse method collapses the item so its dependents are hidden.
This method can only be used for items in the item area.